package business.other.punish.impl;

import business.other.punish.ReformPunishInfoService;
import org.springframework.aop.RawTargetAccess;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.ReformPunishInfo;
import other.domain.ReformPunishInfoCriteria;
import other.mapper.ReformPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "reformPunishService")
public class ReformPunishInfoServiceImpl implements ReformPunishInfoService{
    @Autowired
    ReformPunishInfoMapper reformPunishInfoMapper;

    @Override
    public List<ReformPunishInfo> getReformPunishInfo() {
        ReformPunishInfoCriteria criteria= new ReformPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return reformPunishInfoMapper.selectByExample(criteria);
    }
}
